<template>
    <div class="bread_crumb">
    <el-breadcrumb separator-class="el-icon-arrow-right">
      <el-breadcrumb-item :to="{ path: '/home' }">首页</el-breadcrumb-item>
      <el-breadcrumb-item>{{ name1 }}</el-breadcrumb-item>
      <el-breadcrumb-item>{{ name2 }}</el-breadcrumb-item>
    </el-breadcrumb>
  </div>
</template>

<script>
    export default {
        props: ["name1", "name2"],
    }
</script>

<style lang="scss" scoped>
.bread_crumb {
  margin-bottom: 10px;
  
}
</style>